<?php
// +----------------------------------------------------------------------
// | Author: yaoyihong <510974211@qq.com>
// +----------------------------------------------------------------------
namespace addon\mall\model;
use \think\Request;
use app\common\model\AddonBase;
class GoodsCategory extends AddonBase
{
    protected function setFilterAttrAttr($value){
    	foreach ($value as $key => $v) {
    		if(empty($v) || $v==0){
    			unset($value[$key]);
    		}
    	}
    	return implode(",", $value);
    }
}